package com.example.service;


import com.example.entity.AttendanceRecords;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 公告信息表业务处理
 **/
public interface AttendanceRecordsService {

    /**
     * 新增
     */
    void add(AttendanceRecords attendanceRecords);

    /**
     * 删除
     */
    void deleteById(Integer id);

    /**
     * 批量删除
     */
    public void deleteBatch(List<Integer> ids);

    /**
     * 修改
     */
    void updateAttendanceRecords(AttendanceRecords attendanceRecords);

    /**
     * 根据ID查询
     */
    AttendanceRecords selectById(Integer id);

    /**
     * 查询所有
     */
    List<AttendanceRecords> selectAll(AttendanceRecords attendanceRecords);

    /**
     * 分页查询
     */
    PageInfo<AttendanceRecords> selectPage(AttendanceRecords attendanceRecords, Integer pageNum, Integer pageSize,Boolean isQueryAll);

    void doSomething();

    void clockIn(Integer id);

    void clockOut(Integer id);

    List<AttendanceRecords> exportData(AttendanceRecords attendanceRecords);
}